package com.hotel_management_backstage.lin.dao;

import com.hotel_management_backstage.lin.entity.SysMenu;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysMenuMapper {
    SysMenu selectMenuById(@Param("id")int id);
    List<SysMenu> selectMenuByManyId(@Param("id") List<Integer> id);
    List<SysMenu> selectAllByParentId(int parentId);
}
